package com.fingard.dsp.bank.reqrespobj.elecbillquery.detail;

import com.fingard.xml.XElement;

/**
 * Created by dalt on 2018/5/20.
 */
public class ReqB008HistoricalBillQryDetail {
    /**
     * 银行账号.必填
     */
    public String actNum;

    public String actArea;
    //    票据币种
    public String billCur;
    /**
     * 业务类型 业务类型 1-提示收票 2-背书转让 3-贴现 10-质押
     */
    public String busiType;
    /**
     * 查询类型 1-待操作 2-待应答
     */
    public String queryType;
    /**
     * 到期日下限
     */
    public String dueDateDown;
    /**
     * 到期日上限
     */
    public String dueDateUp;
    /**
     * 电子票据序列号
     */
    public String billNo;
    /**
     * 1-银行承兑，2-商业承兑
     */
    public String billType;

    public XElement srcElement;

    public ReqB008HistoricalBillQryDetail(XElement p_element) throws Exception {
        srcElement = p_element;
        actNum = srcElement.getSingleText("ActNum");
        actArea = srcElement.getSingleText("ActArea");
        billNo = srcElement.getSingleText("BillNo");
        billCur = srcElement.getSingleText("BillCur");
        busiType = srcElement.getSingleText("BusiType");
        queryType = srcElement.getSingleText("QueryType");
        dueDateDown = srcElement.getSingleText("DueDateDown");
        dueDateUp = srcElement.getSingleText("DueDateUp");
        billType = srcElement.getSingleText("BillType");
    }
}
